/*
 Navicat Premium Data Transfer

 Source Server         : localDB
 Source Server Type    : MySQL
 Source Server Version : 80017
 Source Host           : localhost:3306
 Source Schema         : demo

 Target Server Type    : MySQL
 Target Server Version : 80017
 File Encoding         : 65001

 Date: 05/08/2019 22:05:50
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for goods_t
-- ----------------------------
DROP TABLE IF EXISTS `goods_t`;
CREATE TABLE `goods_t` (
  `id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '货物id',
  `billno` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '' COMMENT '运单号',
  `shipper` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '' COMMENT '发货人',
  `type` int(1) DEFAULT '0' COMMENT '货物类别',
  `quality` float DEFAULT NULL COMMENT '质量',
  `volume` float DEFAULT NULL COMMENT '容积',
  `chang` float DEFAULT NULL COMMENT '长',
  `width` float DEFAULT NULL COMMENT '宽',
  `height` float DEFAULT NULL COMMENT '高',
  `consignee` varchar(100) DEFAULT '' COMMENT '收货人',
  `phone` varchar(100) DEFAULT '' COMMENT '收货人电话',
  `province` varchar(100) DEFAULT '' COMMENT '收货人省市',
  `address` varchar(100) DEFAULT '' COMMENT '收货人地址',
  `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '创建时间',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建人',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` timestamp NOT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='货物表';

-- ----------------------------
-- Table structure for sys_user_t
-- ----------------------------
DROP TABLE IF EXISTS `sys_user_t`;
CREATE TABLE `sys_user_t` (
  `id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '用户ID',
  `account` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '' COMMENT '登录账号',
  `username` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '' COMMENT '用户昵称',
  `email` varchar(100) DEFAULT '' COMMENT '用户邮箱',
  `phone` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '' COMMENT '手机号码',
  `sex` int(1) DEFAULT '0' COMMENT '用户性别:0男,1女',
  `password` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '密码',
  `status` int(1) DEFAULT '0' COMMENT '帐号状态:0正常,1禁用',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` timestamp NOT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='用户信息表';

-- ----------------------------
-- Records of sys_user_t
-- ----------------------------
BEGIN;
INSERT INTO `sys_user_t` VALUES ('1523456789456213', 'admin', '管理员', '11@qq.com', '18888888888', 0, '111111', 1, '111', '2019-08-04 12:50:14', '111', '2019-08-04 12:50:06');
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
